﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace demo
{
    class ScoreView
    {
        private SpriteFont font;
        private int score = -1;
        private Vector2 Position;
        public ScoreView(SpriteFont font, Vector2 Position)
        {
            this.font = font;
            this.Position = Position;
        }
        public void Update(double delta)
        {
            //if (score >= GamePage.level_score || GamePage.quaman == 1)
            //{
            //    score = GamePage.level_score;
            //    return;
            //}
            //if (GamePage.level_score - score < 500)
            //{
            //    score += 1;
            //}
            //else score += 9;
        }

        public void Draw(SpriteBatch batch)
        {
            batch.DrawString(font, score + "",Position, Color.Blue);
        }
    }
}
